﻿using System;
using System.Configuration;

namespace Ue.Eagle.Runtime.Configuration
{
    public class PluginExtenisonPointElement : ConfigurationElement
    {
        [ConfigurationProperty(
            PluginConfigurationConstants.PluginExtensionPointNameAttributeName,
            IsKey = true,
            IsRequired = true)]
        public string Name
        {
            get { return base[PluginConfigurationConstants.PluginExtensionPointNameAttributeName] as string; }
        }

        [ConfigurationProperty(
        PluginConfigurationConstants.PluginExtensionPointConfigurationElementTypeArributeName,
        IsRequired = true)]
        public string ExtensionConfigurationElementType
        {
            get { return base[PluginConfigurationConstants.PluginExtensionPointConfigurationElementTypeArributeName] as string; }
        }
    }
}
